package com.aaa.service.scl;


import com.aaa.entity.MyPage;
import com.aaa.entity.scl.SclPlane;
import com.github.pagehelper.PageInfo;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * (SclPlane)表服务接口
 *
 * @author makejava
 * @since 2022-10-27 19:11:05
 */
public interface SclPlaneService {
    /**
     * 查询所有
     * @param myPage
     * @return
     */
    List<SclPlane> queryAll(MyPage myPage);

    /**
     * 查询邀请码
     * @param plane
     * @return
     */
    boolean selectPlane(SclPlane plane);

    /**
     * 添加计划
     * @param plane
     * @return
     */
    boolean insertPlane(SclPlane plane, HttpSession session);

    /**
     * 查询邀请码
     * @param sclPlane
     * @return
     */
    SclPlane queryByQyCode(SclPlane sclPlane);

    PageInfo querysclAll(MyPage myPage, SclPlane sclPlane);
}

